<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>

    <script type="text/javascript" src="../lib/jquery.js"></script>
    <script type="text/javascript">
        //回调地狱 异步操作里的回调函数多层嵌套
        $.get('http://www.liulongbin.top:3006/api/robot', {
            spoke: '你好'
        }, function(res) {
            console.log(res);
            $.get('http://www.liulongbin.top:3006/api/synthesize', {
                text: res1.data.info.text
            }, function(res2) {
                console.log();
            })
        })
    </script>
</body>

</html>